<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/message/messageInfo/save}">
        <input type="hidden" name="id" th:if="${messageInfo}" th:value="${messageInfo.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">所属城市</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="area" placeholder="请输入所属城市" th:value="${messageInfo?.area}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发布地址</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="address" placeholder="请输入发布地址" th:value="${messageInfo?.address}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属大类</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="messageType1" placeholder="请输入所属大类" th:value="${messageInfo?.messageType1}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属小类</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="messageType2" placeholder="请输入所属小类" th:value="${messageInfo?.messageType2}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">顺序</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="num" placeholder="请输入顺序" th:value="${messageInfo?.num}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发布时间</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="pushTime" placeholder="请输入发布时间" th:value="${messageInfo?.pushTime}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发布人</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="pushBy" placeholder="请输入发布人" th:value="${messageInfo?.pushBy}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发布人电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="pushPhone" placeholder="请输入发布人电话" th:value="${messageInfo?.pushPhone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">帖子简介</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="details" placeholder="请输入帖子简介" th:value="${messageInfo?.details}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否置顶</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="istop" placeholder="请输入是否置顶" th:value="${messageInfo?.istop}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">置顶期限</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="topDeadline" placeholder="请输入置顶期限" th:value="${messageInfo?.topDeadline}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">访问量</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="views" placeholder="请输入访问量" th:value="${messageInfo?.views}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">经度</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="lat" placeholder="请输入经度" th:value="${messageInfo?.lat}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">纬度</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="lng" placeholder="请输入纬度" th:value="${messageInfo?.lng}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">收藏数</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="collectnum" placeholder="请输入收藏数" th:value="${messageInfo?.collectnum}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>